package com.nus.fellowmark.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * Role-permission relationship table
 * 
 * @author Chen Ruoyi
 * @email chenruoyisz@gmail.com
 * @date 2023-02-11  
 */
@Data
@TableName("sys_role_menu_mapping")
public class SysRoleMenuMappingEntity implements Serializable {
	private static final long serialVersionUID = 1L;

 
	@TableId(type = IdType.AUTO, value = "ID")
	private Integer id;
	/**
	 * role id
	 */
	@TableField(value = "roleId")
	private Integer roleId;
	/**
	 * permissions/menu id
	 */
	@TableField(value = "menuId")
	private Integer menuId;
	/**
	 * is deleted? 0-no 1-yes
	 */
	private Integer deleted;
	/**
	 * createTime
	 */
	@TableField(value = "createTime")
	private Date createTime;
	/**
	 * updateTime
	 */
	@TableField(value = "updateTime")
	private Date updateTime;

}
